import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/loudong/query',
    method: 'post',
    data
  })
}

export function getList2(data) {
  return request({
    url: '/mgt/loudong/query2',
    method: 'post',
    data
  })
}

export function saveByJson(data) {
  return request({
    url: '/mgt/loudong/saveByJson',
    method: 'post',
    data
  })
}

export function batchDelete(data) {
  return request({
    url: '/mgt/loudong/batchDelete',
    method: 'post',
    data
  })
}

export function deletes(data) {
  return request({
    url: '/mgt/loudong/deletes',
    method: 'post',
    data
  })
}

export function getDetailById(data) {
  return request({
    url: '/mgt/loudong/getDetailById',
    method: 'post',
    data
  })
}

export function updateLouDongHuXing(data) {
  return request({
    url: '/mgt/loudong/updateLouDongHuXing',
    method: 'post',
    data
  })
}

export function getHuXingDetailList(data) {
  return request({
    url: '/mgt/loudong/getHuXingDetailList',
    method: 'post',
    data
  })
}

export function getLouDongs(data) {
  return request({
    url: '/mgt/loudong/queryLouDongs',
    method: 'post',
    data
  })
}

export function getHuXingDetailListByProject(data) {
  return request({
    url: '/mgt/loudong/getHuXingDetailListByProject',
    method: 'post',
    data
  })
}

export function getLouDongDanYuanHaoList(data) {
  return request({
    url: '/mgt/loudong/getLouDongDanYuanHaoList',
    method: 'post',
    data
  })
}

